import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import Vant from 'vant'
import 'vant/lib/index.css'
// 引入normalize
import 'normalize.css'
import '@/styles/index.css'
// 全局组件注册
import GeekIcon from '@/components/index.js'
// import '@/api/mock.js'
// 导入时间过滤器
import filtersObj from '@/fliters/index.js'
for (const key in filtersObj) {
  Vue.filter(key, filtersObj[key])
}
Vue.use(GeekIcon)
Vue.use(Vant)
Vue.config.productionTip = false

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
